package team.sun.sss.common.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.stereotype.Service;
import team.sun.sss.common.dao.StudentConDao;
import team.sun.sss.common.entity.StudentEntity;
import team.sun.sss.common.service.StudentConService;

import java.util.List;


@Service("studentConService")
public class StudentServiceImpl extends ServiceImpl<StudentConDao, StudentEntity> implements StudentConService {


    @Override
    public List<StudentEntity> queryStudentList(String name) {
        return baseMapper.queryStudentList(name);
    }

    @Override
    public List<StudentEntity> queryStudentByStuId(int stuId) {
        return baseMapper.queryStudentByStuId(stuId);
    }

    @Override
    public List<StudentEntity> queryTrainByStuId(int stuId) {
        return baseMapper.queryTrainByStuId(stuId);
    }

    @Override
    public List<StudentEntity> queryPredicted(String name) {
        return baseMapper.queryPredicted(name);
    }
}
